From c40461b2556df9062571cf3056b851f0d38fe7e2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 26 Sep 2007 19:38:05 +0000 Subject: [PATCH] bug 11453 -- remove spurious $i parameter on getGroupIndex() --- includes/LoadBalancer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/LoadBalancer.php b/includes/LoadBalancer.php index 65a6d5a62c..b10c2a5ebe 100644 --- a/includes/LoadBalancer.php +++ b/includes/LoadBalancer.php @@ -324,13 +324,13 @@ class LoadBalancer { # Query groups if ( !is_array( $groups ) ) { - $groupIndex = $this->getGroupIndex( $groups, $i ); + $groupIndex = $this->getGroupIndex( $groups ); if ( $groupIndex !== false ) { $i = $groupIndex; } } else { foreach ( $groups as $group ) { - $groupIndex = $this->getGroupIndex( $group, $i ); + $groupIndex = $this->getGroupIndex( $group ); if ( $groupIndex !== false ) { $i = $groupIndex; break; -- 2.20.1